//
//  HLDoubleSlideView.h
//  ZhiBaoAudio
//
//  Created by zhibao on 2023/8/2.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NSString* _Nullable (^HLDoubleSlideViewSwitchStrBock)(CGFloat count);

//把左右数据传递回去
typedef void (^HLDoubleSlideViewValueBock)(CGFloat leftValue,CGFloat rightValue);
@interface HLDoubleSlideView : UIView
@property(nonatomic,assign)CGFloat maxValue;
@property(nonatomic,assign)CGFloat minValue;
@property(nonatomic,assign)CGFloat currentLeftValue;
@property(nonatomic,assign)CGFloat currentRightValue;

@property(nonatomic,strong)UILabel *leftLabel;
@property(nonatomic,strong)UILabel *rightLabel;

@property(nonatomic,strong)UIButton *leftBtn;
@property(nonatomic,strong)UIButton *rightBtn;
 
//格式化显示文本
@property(nonatomic,copy)HLDoubleSlideViewSwitchStrBock block;

@property(nonatomic,copy)HLDoubleSlideViewValueBock valueBlock;
-(void)setRightLabelTexgt:(NSString *)text;
@end

NS_ASSUME_NONNULL_END
